package com.cg.Dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class InsertDictionDto {
    @Schema(description = "字典数据唯一标识符，自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Schema(description = "值，字符串类型，表示字典项的实际值，如“牛”、“羊”，非空")
    @Parameter(required = true)
    private String value;
    @Schema(description = "字典列表ID，逻辑外键，指向DictionaryList表中的id字段，表示该条目所属的字典类别，非空")
    private Integer dictionaryListId;
}
